package cn.shopifymall.hw_od;

import java.util.Scanner;

/**
 * @Author 孤风雪影
 * @Email gitee.com/efairy520
 * @Date 2023/3/14 21:27
 * @Version 1.0
 */
public class HJ4 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String line = scanner.nextLine();
        while (line.length() >= 8) {
            System.out.println(line.substring(0,8));
            line = line.substring(8);
        }
        if (line.length() > 0 && line.length() < 8) {
            line += "00000000";
            String substring = line.substring(0, 8);
            System.out.print(substring);
        }
    }
    
}
